<template>
  <div>
    <el-table :data="pageData.goodsData" style="width: 100%;margin-bottom:20px" max-height="600">
      <el-table-column prop="phone" label="账号" width="120"></el-table-column>
      <el-table-column prop="pwd" label="密码" width="120"></el-table-column>
      <el-table-column prop="name" label="昵称" width="300"></el-table-column>
    </el-table>
    <pagination></pagination>
  </div>
</template>
<script>
import axios from "axios";
import pagination from "../goods/pagination.vue";
import { createNamespacedHelpers } from "vuex";
const { mapState, mapActions, mapMutations } = createNamespacedHelpers(
  "goodsList"
);
export default {
  data() {
    return {
    };
  },
  components: {
    pagination
  },
  computed: {
    ...mapState(["pageData"])
  },
  mounted() {
    this.getUsersAsync();
  },
  methods: {
    ...mapActions(["getUsersAsync"]),
  }
};
</script>